package main

import (
	"fmt"
	"sharePicture/routers"
	"strings"

	"github.com/gin-gonic/gin"
)

func main() {
	str := []string{
		"123",
		"rrrr",
		"cccc",
	}
	s := strings.Join(str, "&")
	fmt.Println(s)

	r := gin.Default()
	routers.UserRouters(r)
	routers.PictureRouter(r)
	routers.CommentRouter(r)
	routers.FansAndFocusRouter(r)
	routers.IndexRouter(r)

	r.Run() // listen and serve on 0.0.0.0:8080
}
